<?php
namespace app\common\exception;

use think\Exception;

class EmptyException extends Exception
{
    public $message = '找不到了';
    public $httpCode = 200;
    public $code = 404;

    public function __construct($message = '', $httpCode = 0, $code = 0) {
        if ($httpCode) {
            $this->httpCode = $httpCode;
        }
        if ($message) {
            $this->message = $message;
        }
        if ($code) {
            $this->code = $code;
        }
    }



}